package com.sright.bcard.cms.controller;

import com.sright.bcard.common.service.share.dto.page.BetweenDateParamRequest;
import com.sright.bcard.common.service.share.mvcresolver.BodyContent;
import com.sright.bcard.common.service.share.mvcresolver.BodyFiled;
import com.sright.bcard.content.share.service.UserService;
import com.sright.common.response.SrightResponse;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Author: lumf
 * Date: 2020/8/21 5:33 PM
 */
@RestController
@Slf4j
public class UserManageController {
    @Autowired
    UserService userService;
    @PostMapping("/user/list/search")
    public SrightResponse searchUserList(
            @BodyFiled String searchKey,
            @BodyFiled Integer userType,
            @BodyFiled Long beginTime,
            @BodyFiled Long endTime,
            @BodyFiled Integer pageIndex,
            @BodyFiled Integer pageSize
            ) {
//        userService.cardList()
        return SrightResponse.defaultSuccess();
    }
}
